Minor cleanup of _ostree_repo_remote_new_fetcher()
authorAlexander Larsson <alexl@redhat.com>
Thu, 10 Sep 2020 09:34:31 +0000 (11:34 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 11 Sep 2020 10:03:28 +0000 (12:03 +0200)
commit155b215cd86514c300ba573665dc8320c0c72852
tree363052e7356dba9c1486a92c81f3fcf243cb830e
parent3957bff0cb2818bf65adf6db969553d220b6608f
Minor cleanup of _ostree_repo_remote_new_fetcher()

Instead of open coding the extra_headers and append_user_agent
setting everywhere we do this in the constructor.
src/libostree/ostree-repo-pull.c